//
//  C_4ViewController.m
//  RACExamale
//
//  Created by cym_bj on 2017/11/30.
//  Copyright © 2017年 com.cym. All rights reserved.
//

#import "C_4ViewController.h"
#import <ReactiveObjC/ReactiveObjC.h>
@interface C_4ViewController ()
@property (weak, nonatomic) IBOutlet UILabel *lb;
@property (weak, nonatomic) IBOutlet UITextField *tf;

@end

@implementation C_4ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.title=@"文本框改变";
    
    [self.tf.rac_textSignal subscribeNext:^(NSString * _Nullable x) {
        
        self.lb.text=x;
        
    }];
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}




@end
